/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package infoplaces2;

import java.util.Collection;

/**
 *
 * @author Andre Alvarado
 */
public abstract class StreetMap {
    
    private Collection<StreetNode> nodes;
    //um StreetMap possui uma lista de StreetNode
    
    public StreetMap(Collection<StreetNode> nodes){
        this.nodes = nodes;
    }
    
    public StreetMap(){
        //caso nao tenha nenhum StreetNode
    }
    
    public abstract StreetNode addNode(double latitude, double longitude);
}


